package cn.itcast.dao;

import cn.itcast.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface OrderSetDao {

    /**
     * 更新当天预约日期
     * @param orderSetting
     */
    void updateReservationsNum(@Param("orderSetting") OrderSetting orderSetting);

    /**
     * 根据日期查找预约人数信息
     * @param orderDate
     * @return
     */
    OrderSetting findByDate(@Param("orderDate") Date orderDate);
}
